package com.smooth.site.sx.mag.biz.compcollege.comp.enums;

public enum CompTypeEnums {
	compCollege(1, "公司对学校"),
	collegeComp(2, "学校对公司"),
	;

	public Integer value;
	public String name;

	CompTypeEnums(int value, String name) {
		this.value = value;
		this.name = name;
	}

	public static CompTypeEnums getStatus(Integer value) {
		if (value != null) {
			CompTypeEnums[] otypes = CompTypeEnums.values();
			for (CompTypeEnums memberType : otypes) {
				if (value.equals(memberType.value)) {
					return memberType;
				}
			}
		}
		return null;
	}
}
